package com.ktgj.hotel.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktgj.hotel.mapper.DicCtripFeaturedlabelsMapper;
import com.ktgj.hotel.domain.DicCtripFeaturedlabels;
import com.ktgj.hotel.service.IDicCtripFeaturedlabelsService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2021-12-09
 */
@Service
public class DicCtripFeaturedlabelsServiceImpl implements IDicCtripFeaturedlabelsService 
{
    @Autowired
    private DicCtripFeaturedlabelsMapper dicCtripFeaturedlabelsMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param id 【请填写功能名称】ID
     * @return 【请填写功能名称】
     */
    @Override
    public DicCtripFeaturedlabels selectDicCtripFeaturedlabelsById(Long id)
    {
        return dicCtripFeaturedlabelsMapper.selectDicCtripFeaturedlabelsById(id);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param dicCtripFeaturedlabels 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<DicCtripFeaturedlabels> selectDicCtripFeaturedlabelsList(DicCtripFeaturedlabels dicCtripFeaturedlabels)
    {
        return dicCtripFeaturedlabelsMapper.selectDicCtripFeaturedlabelsList(dicCtripFeaturedlabels);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param dicCtripFeaturedlabels 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertDicCtripFeaturedlabels(DicCtripFeaturedlabels dicCtripFeaturedlabels)
    {
        return dicCtripFeaturedlabelsMapper.insertDicCtripFeaturedlabels(dicCtripFeaturedlabels);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param dicCtripFeaturedlabels 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateDicCtripFeaturedlabels(DicCtripFeaturedlabels dicCtripFeaturedlabels)
    {
        return dicCtripFeaturedlabelsMapper.updateDicCtripFeaturedlabels(dicCtripFeaturedlabels);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param ids 需要删除的【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deleteDicCtripFeaturedlabelsByIds(Long[] ids)
    {
        return dicCtripFeaturedlabelsMapper.deleteDicCtripFeaturedlabelsByIds(ids);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param id 【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deleteDicCtripFeaturedlabelsById(Long id)
    {
        return dicCtripFeaturedlabelsMapper.deleteDicCtripFeaturedlabelsById(id);
    }
}
